package tsg.laf.eventhorizon;

import tsg.border.Border;
import tsg.graphic.Color;
import tsg.graphic.Font;
import tsg.laf.LookAndFeel;
import tsg.laf.LookAndFeelManager;
import tsg.laf.eventhorizon.pc.EventHorizonPCButtonUI;
import tsg.laf.eventhorizon.pc.EventHorizonPCFrameUI;
import tsg.laf.eventhorizon.pc.EventHorizonPCLabelUI;
import tsg.laf.eventhorizon.pc.EventHorizonPCPanelUI;

public class EventHorizonLookAndFeel extends LookAndFeel
{
	/** Text Defaults */
	public static final Font 	STANDARDFONT 		= new Font	("Lucida Sans", Font.PLAIN, 12); // TODO: use internal Lucida font
	
	/** Color Defaults */
	public static final Color 	BACKGROUNDCOLOR 	= new Color	(125, 125, 125);
	public static final Color   TEXTCOLOR			= new Color (254, 254, 254);
	
	public void installLookAndFeel()
	{
		// Container Keys

		
		
		// Frame Keys
		LookAndFeelManager.put(LookAndFeel.KEY_FRAME_COMPONENTUI, 						new EventHorizonPCFrameUI());
		
		
		// Panel Keys
		LookAndFeelManager.put(LookAndFeel.KEY_PANEL_BACKGROUNDCOLOR, 					BACKGROUNDCOLOR);
		LookAndFeelManager.put(LookAndFeel.KEY_PANEL_COMPONENTUI, 						new EventHorizonPCPanelUI());
		
		
		
		// Label Keys
		LookAndFeelManager.put(LookAndFeel.KEY_LABEL_BACKGROUNDCOLOR, 					new Color(0, 0, 0));
		LookAndFeelManager.put(LookAndFeel.KEY_LABEL_FOREGROUNDCOLOR, 					TEXTCOLOR);
		LookAndFeelManager.put(LookAndFeel.KEY_LABEL_FONT, 								STANDARDFONT);
		LookAndFeelManager.put(LookAndFeel.KEY_LABEL_COMPONENTUI, 						new EventHorizonPCLabelUI());
		
		
		
		// Button Keys
		LookAndFeelManager.put(LookAndFeel.KEY_BUTTON_BACKGROUNDCOLOR, 					new Color());
		LookAndFeelManager.put(LookAndFeel.KEY_BUTTON_BACKGROUNDCOLOR_MOUSEDOWN, 		new Color());
		LookAndFeelManager.put(LookAndFeel.KEY_BUTTON_BACKGROUNDCOLOR_MOUSEOVER, 		new Color());
		LookAndFeelManager.put(LookAndFeel.KEY_BUTTON_BORDER, 							new Border());
		LookAndFeelManager.put(LookAndFeel.KEY_BUTTON_BORDER_MOUSEDOWN, 				new Border());
		LookAndFeelManager.put(LookAndFeel.KEY_BUTTON_BORDER_MOUSEOVER, 				new Border());
		LookAndFeelManager.put(LookAndFeel.KEY_BUTTON_FONT, 							STANDARDFONT);
		LookAndFeelManager.put(LookAndFeel.KEY_BUTTON_COMPONENTUI, 						new EventHorizonPCButtonUI());
		
	}
}
